package com.study.reactor.service;

import com.sd.ims.collection.core.biz.arreceive.bean.OldDataWriteOffJobParam;
import com.sd.ims.collection.core.biz.arreceive.request.ArWriteOffInsertRequest;
import com.sd.ims.collection.core.dao.po.ArWriteOff;

/**
 * @author Cliff
 * Created on 2022/8/25
 * desc 退款单
 */
public interface RefundDocumentServer {

    /**
     * 退款单与收款单的核销
     * @param param
     * @return
     */
    Integer refundAndReceiptWriteOff(OldDataWriteOffJobParam param);


    /**
     * 人工核销
     * 退款单手动核销收款单与退货应收单
     */
    Integer manualRefundWriteOff(ArWriteOffInsertRequest request);


    /**
     * 反核销
     */
    Integer doRefundCancelWriteOff(ArWriteOff arWriteOff);


}
